package com.second.app.thread.线程基础.day07.线程通信.实战.backup;

/**
 * @author gyz
 * @date 2021/1/27 17:26
 */
public class Run {


    public static void main(String[] args) {

        DbTools dbTools = new DbTools();
        for (int i = 0; i < 20; i++) {
            BackUpB backUpB = new BackUpB(dbTools);
            backUpB.start();
            BackUpA backUpA = new BackUpA(dbTools);
            backUpA.start();
        }
    }
}
